#include <QCoreApplication>
#include"mythread.h"
#include"worker.h"
#include"myobject.h"



int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    MyThread mythread;

    mythread.start();

    MyObject myObject;
    myObject.putWorkerInThread();

    return a.exec();
}
